/*
 * Image_process.h
 *
 *  Created on: 2017年7月17日
 *      Author: Case
 */

#ifndef CG_SRC_IMAGE_PROCESS_H_
#define CG_SRC_IMAGE_PROCESS_H_


#define	NUM	10
#define	PI 3.1415926

#define HEADING_DECISION_Y1		50
#define HEADING_DECISION_Y2		150
#define HEADING_DECISION_X1		10
#define HEADING_DECISION_X2		30









void	seek_mid(uint8_t picture[OV7670_PIX_HEIGHT][OV7670_PIX_WIDTH]);
void	method(uint8_t mid[OV7670_PIX_HEIGHT]);
void correct_error(float k,float b);
void	Four_Seek_edge(int	len,char HD[],char	XY_L[10],char XY_R[10]);




#endif /* CG_SRC_IMAGE_PROCESS_H_ */
